package com.lbd.system.bean;

import com.lbd.base.bean.AbstractEntity;
import lombok.*;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;

/**
 * 用户认证信息
 */
@Getter
@Setter
@ToString
@AllArgsConstructor
@NoArgsConstructor
@DynamicUpdate
@Entity
public class UserAuthentication extends AbstractEntity {
    /**
     * 绑定手机号
     */
    public static final int AUTH_PHONE = 1;
    /***
     * 实名认证
     */
    public static final int AUTH_REAL_NAME = 2;
    /**
     * 绑定银行卡
     */
    public static final int AUTH_BIND_CARD = 3;
    /**
     * 存管账户
     */
    public static final int AUTH_CUSTODY_ACCOUNT = 4;
    /**
     * 设置交易密码
     */
    public static final int AUTH_TX_PASSWORD = 5;


    //认证类型
    private Integer type;
    //备注
    private String remark;
    //用户id
    private String userId;
}
